
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page import="com.scalar.chiptrack.utils.ConfigManager"%>

<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/chiptrack-tags.tld" prefix="chiptrack" %>

<chiptrack:checkLogon sourcePage="/changePassword.do"/>

<html:html>

<HEAD><TITLE>ChipTrac - Change Password</TITLE>

<%String chipTracContext = "/" + ConfigManager.getChipTracContext();%>

<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<LINK href="<%=chipTracContext%>/jsp/includes/stylesheets/scalarsoft.css" type=text/css rel=stylesheet>

<script language='javascript'>
function changePassword() {
    document.changePasswordForm.submit();
}
</script>

<META content="MSHTML 5.50.4807.2300" name=GENERATOR></HEAD>
<BODY bgColor='#ffffff' leftMargin=0 topMargin=0 marginheight="0" marginwidth="0">


<html:form name="changePasswordForm" type="com.scalar.chiptrack.users.forms.ChangePasswordForm" action="/changePassword.do?action=update">

<table bgcolor='FDF5E6' border="0" width="90%" align=center>

    <tr><td colspan='3' bgcolor="#993333" align='center'><font class='NArialW'><font color='#FFFFFF'>Change Password</font></font></td></tr>
    <tr><td colspan='3'><img height=20 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif"></td></tr>

    <tr><td colspan='3'><chiptrack:info styleClass="NArialL"/></td></tr>
    <tr><td colspan='3'><chiptrack:errors styleClass="NArialL"/></td></tr>
    <tr><td colspan='3'><img height=20 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif"></td></tr>

    <tr>
        <td width="20%"><font class="NArialL" >&nbsp;</font></td>
        <td width="40%"><font class="NArialL" >User ID:</font></td>
        <td width="40%"><font class="NArialL" ><bean:write name='changePasswordForm' property='userId'/></font></td>
    </tr>

    <tr>
        <td width="20%"><font class="NArialL" >&nbsp;</font></td>
        <td width="40%"><font class="NArialL" >Old Password:</font></td>
        <td width="40%"><html:password name='changePasswordForm' property='oldPassword' size='20' maxlength='10' styleClass='txfield'/></td>
    </tr>

    <tr>
        <td width="20%"><font class="NArialL" >&nbsp;</font></td>
        <td width="40%"><font class="NArialL" >New Password:</font></td>
        <td width="40%"><html:password name='changePasswordForm' property='newPassword' size='20' maxlength='10' styleClass='txfield'/></td>
    </tr>

    <tr>
        <td width="20%"><font class="NArialL" >&nbsp;</font></td>
        <td width="40%"><font class="NArialL" >Re-enter new Password:</font></td>
        <td width="40%"><html:password name='changePasswordForm' property='newPassword1' size='20' maxlength='10' styleClass='txfield'/></td>
    </tr>

    <tr><td colspan=3><img src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" height=20></td></tr>

    <tr><td colspan=3 align=center>
    <a href="javascript:changePassword()"><img onMouseOver="window.status='Click here to change the password';return true"  border="0" src="<%=chipTracContext%>/jsp/includes/images/save.gif" width="53" height="17"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <a href="javascript:window.close();"><img onMouseOver="window.status='Click here to close this window';return true"  border="0" src="<%=chipTracContext%>/jsp/includes/images/cancel.gif" width="53" height="17"></a>
    </td></tr>

    <tr><td colspan=3><img src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" height=10></td></tr>

    <tr><td colspan=3 align=center><a href="javascript:window.close();" onMouseOver="window.status='Click here to close this window';return true"><font class='NArialL'>Close this window</font></a></td></tr>

    <tr><td colspan=3><img src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" height=20></td></tr>

</table>

</html:form>


</BODY>

</html:html>